import request from '@/utils/request'

// 查询成长值变化历史记录列表
export function listGrowth_change_history(params) {
  return request({
    url: 'auiu-ums/ums/growth_change_history/list',
    method: 'get',
    params
  })
}

// 查询成长值变化历史记录详细
export function getGrowth_change_history(id) {
  return request({
    url: 'auiu-ums/ums/growth_change_history/' + id,
    method: 'get'
  })
}

// 新增成长值变化历史记录
export function addGrowth_change_history(data) {
  return request({
    url: 'auiu-ums/ums/growth_change_history/add',
    method: 'post',
    data
  })
}

// 修改成长值变化历史记录
export function updateGrowth_change_history(data) {
  return request({
    url: 'auiu-ums/ums/growth_change_history/update',
    method: 'put',
    data
  })
}

// 删除成长值变化历史记录
export function delGrowth_change_history(data) {
  return request({
    url: 'auiu-ums/ums/growth_change_history/delete',
    method: 'delete',
    data
  })
}

// 导出成长值变化历史记录
export function exportGrowth_change_history(query) {
  return request({
    url: 'auiu-ums/ums/growth_change_history/export',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}
